P.Mod.grid_table = function (dom,options) {
	var _this = this;
    var aDoms = $.UT.DomSelector($("a",dom));
	var divDoms = $.UT.DomSelector($("div",dom));
    var options = {
        "thead" : ["ID","姓名","性别","年龄","婚姻状况","联系电话","家庭住址","操作"],
        "tbody":  ["id","name","gender","age","marry","tel","addr","operate"],
        "cols": [50,100,50,50,100,100,300,100],
        "align": ["center","left","center","right","center","left","left","center"],
        "keys": ["id"],
        "width": "auto",
        "source": {module:"grid_table",action:"get_list"}
    };
	
	this.gridTable = $(divDoms.tableList).Widget("GridTable",options);
    this.gridTable.loadData({page:1,sortType:0,sortFields:'id'});	
};
$('#grid_table').Module();